package com.example.web.serviceImpl;

import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;

import com.example.web.serviceImpl.startupListener.OrderEnvent;

/**
 * 	微信监听
 * @author yzl
 *
 */
@Component
public class WxListener implements ApplicationListener<OrderEnvent>{

	@Override
	public void onApplicationEvent(OrderEnvent event) {
		System.out.println(event.getSource());
		System.out.println("发送微信消息事件------ 成功！");	
	}

}
